Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed Cutadapt to use nf-core modules #435

Merged
merged 23 commits into from
Oct 25, 2024
Merged

Conversation

svarona
Copy link
Contributor

@svarona svarona commented Jun 18, 2024

Fixes issue #409

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/viralrecon branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

Copy link

github-actions bot commented Jun 18, 2024

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit e963569

+| ✅ 201 tests passed       |+
#| ❔   2 tests were ignored |#
!| ❗   9 tests had warnings |!

❗ Test warnings:

  • files_exist - File not found: conf/igenomes.config
  • files_exist - File not found: conf/igenomes_ignored.config
  • readme - README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo doi (after the first release).
  • pipeline_todos - TODO string in main.nf: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in main.nf: Optionally add bibliographic entries to this list.
  • pipeline_todos - TODO string in main.nf: Only uncomment below if logic in toolCitationText/toolBibliographyText has been filled!
  • pipeline_todos - TODO string in base.config: Check the defaults for all processes
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline
  • system_exit - System.exit in nanopore.nf: System.exit(1) [line 248]

❔ Tests ignored:

  • files_unchanged - File ignored due to lint config: assets/email_template.html
  • files_unchanged - File ignored due to lint config: assets/email_template.txt

✅ Tests passed:

Run details

  • nf-core/tools version 3.0.2
  • Run at 2024-10-25 14:16:21

@svarona svarona marked this pull request as ready for review June 18, 2024 10:25
svarona added a commit to BU-ISCIII/viralrecon that referenced this pull request Aug 20, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
@maxulysse
Copy link
Member

So the issue there is that we no longer have the adapter file in the script and we're trying to pass it within the meta map.
We should only pass files to modules within a channel.
I'd recommend to patch the modules upstream and keep this adapter input

Copy link
Member

@maxulysse maxulysse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should only pass files to modules within a channel.
I'd recommend to patch the modules upstream and keep this adapter input in cutadapt

@svarona
Copy link
Contributor Author

svarona commented Oct 25, 2024

We should only pass files to modules within a channel. I'd recommend to patch the modules upstream and keep this adapter input in cutadapt

Thanks a lot @maxulysse! Just learned about this patch thing thanks to having @Daniel-VM nearby at work! I'm already working on it!!

@maxulysse maxulysse merged commit 402fad8 into nf-core:dev Oct 25, 2024
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants